package com.scalar.forecast.forecastEntry;

import java.io.Serializable;

/**
 * This class contains all properties that corresponds to the single row in the forecast entry table.<br>
 * This class is used as the data carrier from action class to dao such that dao will insert or update the corresponding
 * tableRowBean.
 * <br>
 * User: Sujan Kumar
 * Date: Feb 16, 2005
 * Time: 7:53:28 PM
 */

public class TableRowBean implements Serializable
{
    private int rowId = -1;
    private int salesPersonId = -1;
    private int productId = -1;
    private int custId = -1;
    private int odmId = -1;
    private int projId = -1;
    private int month = -1;
    private int quarter = -1;
    private int year = -1;
    private int qty = 0;
    private double price = 0.0d;
    private float confidenceLevel = 0.0f;
    private String userList1 = null;
    private String userDate1 = null;
    private String userTxt1 = null;
    private String userTxt2 = null;
    private String userId = null;

    public TableRowBean()
    {
    }

    public float getConfidenceLevel() {
        return confidenceLevel;
    }

    public void setConfidenceLevel(float confidenceLevel) {
        this.confidenceLevel = confidenceLevel;
    }

    public int getCustId() {
        return custId;
    }

    public void setCustId(int custId) {
        this.custId = custId;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getOdmId() {
        return odmId;
    }

    public void setOdmId(int odmId) {
        this.odmId = odmId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProjId() {
        return projId;
    }

    public void setProjId(int projId) {
        this.projId = projId;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public int getQuarter() {
        return quarter;
    }

    public void setQuarter(int quarter) {
        this.quarter = quarter;
    }

    public int getRowId() {
        return rowId;
    }

    public void setRowId(int rowId) {
        this.rowId = rowId;
    }

    public int getSalesPersonId() {
        return salesPersonId;
    }

    public void setSalesPersonId(int salesPersonId) {
        this.salesPersonId = salesPersonId;
    }

    public String getUserDate1() {
        return userDate1;
    }

    public void setUserDate1(String userDate1) {
        this.userDate1 = ( userDate1 == null ? null : userDate1.trim() );
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = ( userId == null ? null : userId.trim() );
    }

    public String getUserList1() {
        return userList1;
    }

    public void setUserList1(String userList1) {
        this.userList1 = ( userList1 == null ? null : userList1.trim() );
    }

    public String getUserTxt1() {
        return userTxt1;
    }

    public void setUserTxt1(String userTxt1) {
        this.userTxt1 = ( userTxt1 == null ? null : userTxt1.trim() );
    }

    public String getUserTxt2() {
        return userTxt2;
    }

    public void setUserTxt2(String userTxt2) {
        this.userTxt2 = ( userTxt2 == null ? null : userTxt2.trim() );
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

}
